package edu.mse.camel.client.events;

public abstract class AbstractEvent implements IEvent {

	private boolean queryAnswered = false;
	private boolean opSuccessful = false;

	public boolean isQueryAnswered() {
		return queryAnswered;
	}

	public void setQueryAnswered(boolean queryAnswered) {
		this.queryAnswered = queryAnswered;
	}

	public void setOpSuccessful(boolean opSuccessful) {
		setQueryAnswered(true);
		this.opSuccessful = opSuccessful;
	}

	public boolean isOpSuccessful() {
		return opSuccessful;
	}
	
}
